Package-level declarations

Types

Link copied to clipboard
interface APIException<EX : Throwable, B>
Link copied to clipboard
interface APITag

This interface is used to define tags to classify endpoints. It needs to be implemented using an enum so that the processor properly detects equality.

Link copied to clipboard
Link copied to clipboard
data class KTypeProperty(val name: String, val type: KType, val source: KProperty1<*, *>)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class OpenAPIGen(config: OpenAPIGen.Configuration, val pipeline: ApplicationCallPipeline)
Link copied to clipboard
Link copied to clipboard

implement this to automatically register an object as OpenAPIModule in the global context only works if the object is in a package declared in OpenAPIGen.Configuration.scanPackagesForModules

Link copied to clipboard
typealias SchemaMap = Map<KType, SchemaModel<*>>
Link copied to clipboard
data class SerializationSettings(val skipEmptyMap: Boolean = false, val skipEmptyList: Boolean = false, val skipEmptyValue: Boolean = false)
Link copied to clipboard
class SwaggerUi(basePath: String, version: String, openApiJsonUrl: String?)
Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard
val Application.openAPIGen: OpenAPIGen
Link copied to clipboard

Functions

Link copied to clipboard
fun Map<String, *>.cleanEmptyValues(serializationSettings: SerializationSettings = SerializationSettings()): Map<String, *>
Link copied to clipboard
inline fun <T> SchemaMap.containsKey(): Boolean
Link copied to clipboard
fun convertToValue(value: Any?, serializationSettings: SerializationSettings = SerializationSettings()): Any?
Link copied to clipboard
inline fun <T> SchemaMap.get(): SchemaModel<T>?
Link copied to clipboard
inline fun <T> MutableSchemaMap.put(value: SchemaModel<T>): SchemaModel<T>?
Link copied to clipboard